<div id="ordLogin" class="form-horizontal">
    <div class="form-group">
        <label class="col-sm-3 control-label">Account</label>
        <div class="col-sm-8">
            <input type="text" id="userName" name="userName" value="" needvalicate=true class="form-control" valicate="_required _minlen=6 _emailOR_tel" maxlength="40" class="form-control" placeholder="Email or Mobile Phone" aria-required="true">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">Password</label>
        <div class="col-sm-8">
            <input type="password" id="pwd" name="pwd" value="" class="form-control" valicate="_required _minlen=6" id="inputGroupSuccess2"  placeholder="Password">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12 text-center">
            <input id="rememberMe" name="rememberMe" type="checkbox">
	            <span class="p5">Remember me<a style="margin-left:10px;" href="/DocSystem/web/getPassword_en.html">Forgot Password?</a></span>
			</input>
        </div>
    </div>
    <p class="text-warning"></p>
    <div class="form-group">
        <div class="col-sm-12 text-center">
            <button onclick="login()" class="btn btnPrimary" style="width: 258px;height: 42px;">Sign In</button>
        </div>
    </div>
</div>    
      
<div id="smsLogin" class="row" style="display: none;">
    <!-- <h4 class="modal-subtitle"><a class="f-right tog-login" onclick="$('#ordLogin').show();$('#smsLogin').hide();"><em class="important">普通方式登录</em></a>用户登录</h4> -->
    <div class="form-horizontal" id="_form_login_sms" method="POST" action="/DocSystem/User/smsLogin.do" novalidate="novalidate">
        <div class="form-group">
            <label class="col-sm-2 control-label">Phone</label>
            <div class="col-sm-9">
                <input type="number" name="account" required="true" digits="true" rangelength="11,11" class="form-control" placeholder="Mobile Phone" aria-required="true">
            </div>
        </div>
        <div class="form-group" style="display:none">
            <label class="col-sm-2 control-label">Verify Code</label>
            <div class="col-sm-9">
                <span class="vercode-img"><img src="" title="Refresh"></span> <!-- 验证码 -->
                <input type="hidden" name="captchaKey" required="true" aria-required="true">
                <input type="text" name="captchaCode" required="true" rangelength="4,4" class="form-control" placeholder="Please iuput your received code" aria-required="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">Get Verify Code</label>
            <div class="col-sm-9">
                <a class="vercode" href="javascript:void">Get Verify Code</a>
                <span class="vercode" style="display: none;"><em><i>60</i>Seconds </em></span>
                <input type="hidden" name="trId">
                <input type="number" name="smsCode" digits="true" required="true" rangelength="4,6" class="form-control" placeholder="Verify Code" aria-required="true">
            </div>
        </div>
        <p class="text-warning" style="display:none"></p>
        <div class="form-group" style="margin-top: 30px;">
            <label class="col-sm-2 control-label">&nbsp;</label>
            <div class="col-sm-9 text-left">
                <button onclick="smsLogin()" class="btn btnPrimary">Sign In</button>
            </div>
        </div>
    </div>
</div>
 
<script type="text/javascript" src="js/base64.js"></script>
<script type="text/javascript" src="login.js"></script>
<script type="text/javascript">
    //页面初始化代码    
    $(function(){
		LoginPageInit();
		$("#userName").val(login_user);
		//$("#userName").click().focus();
	});
</script>
